Public: Technology Reviews : WebStart OSX Java 1.5 Fix
This page last changed on Nov 12, 2008 by scytacki.
keywords: jnlp fix mac osx webstart java Here is a bug documenting the problem: CC created an application for fixing this problem. It will ask for administrator priviledges when it is run: This application only works for Java 1.5.0_06 and 1.5.0_07, so, if you have a different version of Java 1.5, or if the application above doesn't work, you can try pasting the following into the OSX Terminal application. The Terminal Application is located in the Applications/Utilities folder. MacOS 10.4For java 1.5.0_06 and 1.5.0_07 on OS X 10.4cd /tmp; curl http://confluence.concord.org/download/attachments/10877/jardiff_strings_file.zip > jardiff_strings_file.zip; unzip jardiff_strings_file.zip; sudo zip -u "/Applications/Utilities/Java/J2SE 5.0/Java Cache Viewer.app/Contents/MacOS/lib/javaws.jar" com/sun/javaws/jardiff/resources/strings.properties; rm com/sun/javaws/jardiff/resources/strings.properties jardiff_strings_file.zip; cd - For Java 1.5.0_13 and 1.5.0_16 on OS X 10.4cd /tmp ; curl http://confluence.concord.org/download/attachments/10877/jardiff_strings_file.zip > jardiff_strings_file.zip ; unzip jardiff_strings_file.zip ; sudo zip -u "/Applications/Utilities/Java/Java Web Start.app/Contents/MacOS/lib/javaws.jar" com/sun/javaws/jardiff/resources/strings.properties ; rm com/sun/javaws/jardiff/resources/strings.properties jardiff_strings_file.zip ; cd - MacOS 10.5For Java 1.5.0_13 and 1.5.0_16 on OS X 10.5cd /tmp ; curl http://confluence.concord.org/download/attachments/10877/jardiff_strings_file.zip > jardiff_strings_file.zip ; unzip jardiff_strings_file.zip ; sudo zip -u "/System/Library/Frameworks/JavaVM.framework/Home/lib/javaws.jar" com/sun/javaws/jardiff/resources/strings.properties ; rm com/sun/javaws/jardiff/resources/strings.properties jardiff_strings_file.zip ; cd - BackgroundA copy of the string.properties file that is missing from javaws.jar for Java 1.5 on MacOSX is attached to this page: com/sun/javaws/jardiff/resources/strings.properties The following script pops up a dialog asking the user for admin privileges. The webstart fix it runs is for 10.4 with java 1.5.0_13 osascript -e "Do shell script \"cd /tmp ; curl http://confluence.concord.org/download/attachments/10877/jardiff_strings_file.zip > jardiff_strings_file.zip ; unzip jardiff_strings_file.zip ; zip -u '/Applications/Utilities/Java/Java Web Start.app/Contents/MacOS/lib/javaws.jar' com/sun/javaws/jardiff/resources/strings.properties ; rm com/sun/javaws/jardiff/resources/strings.properties jardiff_strings_file.zip ; cd -\" with administrator privileges" The problem can be tested using these instructions: http://www.telscenter.org/confluence/display/PAS/JNLP+Test The Fix Java Webstart application is an XCode project checked into CC's cvs repository under Projects/FixJavaWebstart. I reported this bug to Apple. They gave me an bug id: 4696251. I don't believe this bug is public. The gist of apples response is that they cannot duplicate this bug in the current java seed.
Java 2 SE 6.0 Release 1 Developer Preview 4
<http://connect.apple.com>
A new MacOSX Java bug that applies to Java 1.5.0_16 on MacOS X 10.4 (not 10.5)This one only applies to java 1.5.0_16. Some how a bug was introduced that stops webstart from running extensions: cd /tmp ; curl http://confluence.concord.org/download/attachments/10877/deploy-1.5.0_16-fix.jar > deploy-1.5.0_16-fix.jar ; unzip deploy-1.5.0_16-fix.jar ; sudo zip -u "/System/Library/Frameworks/JavaVM.framework/Home/lib/deploy.jar" com/sun/deploy/config/MacOSXConfig.class ; rm com/sun/deploy/config/MacOSXConfig.class deploy-1.5.0_16-fix.jar ; cd -
FixJavaWebStart.dmg (application/octet-stream)
FixJavaWebStart.dmg (application/x-diskcopy) FixJavaWebStart.dmg (application/x-diskcopy) jardiff_strings_file.zip (application/zip) deploy-1.5.0_16-fix.jar (application/octet-stream)
|
Document generated by Confluence on Jan 27, 2014 16:56 |